package com.chb.prototype.shallow;

/**
 * @author chihb
 * @create-time 2024/10/23 15:08
 * @description
 */
public class Student implements Cloneable{
    private String name;
    private int age;
    private double score;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    @Override
    protected Student clone() throws CloneNotSupportedException {
        return (Student)super.clone();
    }
}
